<?php
	$form = new MailingListForm();
?>
<h1 class="heading">Visualizar Mailing list</h1>

<table class="form">
  <tbody>
  <tr><th colspan="2" class="title">Detalhes Mailing list</th></tr>
    <tr>
      <th><?php echo $form['id_mailing_list']->renderLabel() ?>:</th>
      <td><?php echo $mailing_list->getIdMailingList() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['id_mailing_group']->renderLabel() ?>:</th>
      <td><?php echo $mailing_list->getIdMailingGroup() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['ds_nome_list']->renderLabel() ?>:</th>
      <td><?php echo $mailing_list->getDsNomeList() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['ds_email_list']->renderLabel() ?>:</th>
      <td><?php echo $mailing_list->getDsEmailList() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['st_mailing_list']->renderLabel() ?>:</th>
      <td><?php echo $mailing_list->getStMailingList() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['st_envio_list']->renderLabel() ?>:</th>
      <td><?php echo $mailing_list->getStEnvioList() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['dt_envio_list']->renderLabel() ?>:</th>
      <td><?php echo $mailing_list->getDtEnvioList() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['created_at']->renderLabel() ?>:</th>
      <td><?php echo $mailing_list->getCreatedAt() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['updated_at']->renderLabel() ?>:</th>
      <td><?php echo $mailing_list->getUpdatedAt() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['deleted']->renderLabel() ?>:</th>
      <td><?php echo $mailing_list->getDeleted() ?></td>
    </tr>
  </tbody>
</table>

<hr />

<?php
	comandos_form(
		link_to(
			':: Listar ::',
			'mailing_list/list',
			array('class' => 'botao')
		),
		link_to(
			':: Editar ::',
			'mailing_list/edit?id_mailing_list='.$mailing_list->getIdMailingList(),
			array('class' => 'botao')
		)
	);
?>